import request from '@/utils/request'
// 登录
export const login =(data)=>{
  return request({
    url:'/login',
    method:'post',
    data
  })
}
// 获取商品所有分类
export const getAllCateData =()=>{
  return request({
    url:'categories'
  })
}